/* Includes 头文件------------------------------------------------------------------*/
#include "308.h"

//定义全局变量
uint8_t Delay_Cnt = 0;
uint8_t PrintInkCount = InkPrtCnt; //打印喷点次数，默认次数
uint8_t PrintInkPluse = InkPrtPluse; //喷墨脉宽值，默认值

/************************************************
函数名称 ： HP45_Configuration
功    能 ： HP45引脚时钟配置
参    数 ： 无
返 回 值 ： 无
作    者 ： Kay
*************************************************/
void Ink308_Configuration(void)
{
  gpio_pad_select_gpio(CD4017_RESET_PIN);
  gpio_set_direction(CD4017_RESET_PIN, GPIO_MODE_OUTPUT);
  gpio_pad_select_gpio(CD4017_CLK_PIN);
  gpio_set_direction(CD4017_CLK_PIN, GPIO_MODE_OUTPUT);
  gpio_pad_select_gpio(HC595_OE_PIN);
  gpio_set_direction(HC595_OE_PIN, GPIO_MODE_OUTPUT);
  gpio_pad_select_gpio(HC595_SLOAD_PIN);
  gpio_set_direction(HC595_SLOAD_PIN, GPIO_MODE_OUTPUT);
  gpio_pad_select_gpio(HC595_SCLK_PIN);
  gpio_set_direction(HC595_SCLK_PIN, GPIO_MODE_OUTPUT);
  gpio_pad_select_gpio(HC595_SDO_PIN);
  gpio_set_direction(HC595_SDO_PIN, GPIO_MODE_OUTPUT);
  
  HC595_OE_H(); //失能595输出
  DefDriverBoard_AddrReset();//清空4017的数据输出
}

/*****************************************
*函数名称： DefDriverBoard_AddrReset
*函数功能： 清除4017中的数据 且时4017处于工作状态
*输入参数： none
*输出参数： none
****************************************/
void DefDriverBoard_AddrReset(void)
{
  //清除4017数据升高clr，电路图中高低反转
  CD4017_CLR_L();
  for(Delay_Cnt = 0;Delay_Cnt < 12;Delay_Cnt++);//1us
  //时钟线为低电平
  CD4017_CLK_L();
  //clr拉高
  CD4017_CLR_H();
}
/*****************************************
*函数名称： DefDriverBoard_ChoseAddr
*函数功能： 4017进行移位操作处理
*输入参数： none
*输出参数： none
****************************************/
void DefDriverBoard_AddrOutput()
{
  //给一个上升沿时钟，电路图中高低反转
  CD4017_CLK_H();
  CD4017_CLK_L();
}
/*****************************************
*函数名称： DefDriverBoard_Deserialize
*函数功能： 将串行数据转成并行数据
*输入参数： dat为16 bits数据
*输出参数： none
****************************************/
void DefDriverBoard_Deserialize(uint32_t dat)   //2.2us
{
	uint32_t var=(1 << 13);
	//拉高clock
	HC595_SCLK_H();
	for(uint8_t i=0;i<14;i++){
		if(dat&var)
			HC595_SDO_L();
		else
			HC595_SDO_H();
		dat <<= 1;
		HC595_SCLK_L();
		HC595_SCLK_H();
	}
}


void DefDriverBoard_PowerOutput(uint32_t Pn)
{
	//595使能端处于高阻态，失能输出
	HC595_OE_H();
    //将Pn串并转换到595移位寄存器
    DefDriverBoard_Deserialize(Pn);
    //拉低595的存储器输出的CLK电平
    HC595_SLOAD_L();
    //595存储器Clock上升沿则为一次输出
    HC595_SLOAD_H();
    //拉低595使能端引脚，使能输出
    HC595_OE_L();
	//脉宽设置
	if(PrintInkPluse<2||PrintInkPluse>50)
		PrintInkPluse = InkPrtPluse;//默认脉宽
	switch(PrintInkPluse){
		case 2:for(Delay_Cnt = 0;Delay_Cnt < 22;Delay_Cnt++);break;//2us -22
		case 5:for(Delay_Cnt = 0;Delay_Cnt < 25;Delay_Cnt++);break;//2.2us
		case 8:for(Delay_Cnt = 0;Delay_Cnt < 29;Delay_Cnt++);break;//2.4us
		case 12:for(Delay_Cnt = 0;Delay_Cnt < 32;Delay_Cnt++);break;//2.6us
		case 15:for(Delay_Cnt = 0;Delay_Cnt < 32;Delay_Cnt++);break;//2.8us
		case 18:for(Delay_Cnt = 0;Delay_Cnt < 37;Delay_Cnt++);break;//3.0us
		case 21:for(Delay_Cnt = 0;Delay_Cnt < 40;Delay_Cnt++);break;//3.2us
		case 24:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//3.4us
		case 28:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//3.6us
		case 31:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//3.8us
		case 34:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//4.0us
		case 37:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//4.2us
		case 40:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//4.4us
		case 43:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//4.6us
		case 47:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//4.8us
		case 50:for(Delay_Cnt = 0;Delay_Cnt < 34;Delay_Cnt++);break;//5us
		default:break;
  	}
	  /*2=2.0、5=2.2、8=2.4、12=2.6、15=2.8、18=3.0、21=3.2、24=3.4、28=3.6、31=3.8
		34=4.0、37=4.2、40=4.4、43=4.6、47=4.8、50=5.0*/
    //595使能端处于高阻态，失能输出
    HC595_OE_H();
    //拉低595的存储器输出的CLK电平
    HC595_SLOAD_L();
}

/************************************************
函数名称 ： Print_TestData(暂时用不上！！！)
功    能 ： 打印测试数据
参    数 ： 无
返 回 值 ： 无
*************************************************/
uint8_t Test_Printdata=0;
static uint8_t Test_Arraydata[22][39]={
{0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x00},
{0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x00},
{0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x00},
{0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x00},
{0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00},
{0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00},
{0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00},
{0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00},
{0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00},
{0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00},
{0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00},
{0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00},
{0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00},
{0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00},
{0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00},
{0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00},
{0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00},
{0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00},
{0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01},
{0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02},
{0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04,0x00,0x00,0x01,0x00,0x40,0x00,0x00,0x10,0x00,0x00,0x04},
{0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08,0x00,0x00,0x02,0x00,0x80,0x00,0x00,0x20,0x00,0x00,0x08}
};
void Print_TestData(void)
{
	uint8_t LineData[3900]={0};
	uint32_t Print_count=7;//数据包括包头
	int black_line=0;
	//配置接收图片的空间
	memset(RxBuf,0,100000);//清除空间内容

	for(int x=0;x<3900;x++)RxBuf[Print_count+x] = 0xFF;		//黑块
	Print_count += 3900;
	
	for(int x=0;x<1950;x++)RxBuf[Print_count+x] = 0x00;		//白块
	Print_count += 1950;
	
    for(int x=21;x>=0;x--)  //此处的x要带符号，有负数
    {
		if(x%2)
		{
			for(int y=0;y<39;y++)
			  LineData[y] = 0xFF;                       	//前面黑线
			black_line = 39;
		}else black_line = 0;

		for(int y=0;y<1950;y++)
		{
			LineData[y+black_line] = Test_Arraydata[x][y%39];
		}
		if(x>0)
		{
			for(int x=0;x<(1950+black_line);x++)RxBuf[Print_count+x] = LineData[x]; 	//阶梯线
			Print_count +=  (1950+black_line);
		}
		else 
		{
			for(int y=0;y<39;y++)
				LineData[1989+y] = 0xFF;                  	//最后一根黑线
			for(int x=0;x<2028;x++)RxBuf[Print_count+x] = LineData[x]; 	//阶梯线
			Print_count +=  2028;
		}
    }
	for(int x=0;x<1950;x++)RxBuf[Print_count+x] = 0x00;		//白块
	Print_count += 1950;

    for(int x=0;x<5;x++)
    {
	  for(int x=0;x<3900;x++)RxBuf[Print_count+x] = 0xFF; 	//黑块
	  Print_count += 3900;
    }
	Beep_set(300);
	data_length = Print_count;
	Test_Printdata = 0;                                   //预防在处理数据的过程中，连续接收到2次
	ReadyPrintFlag = 1;//图案预备标志位置1
}


/************************************************
函数名称 ： Print_data
功    能 ： 进行数据打印
参    数 ： 要进行打印的数组
返 回 值 ： 无
作    者 ： xKay
*************************************************/
void Print_data(uint8_t *left_dot_data)
{
	if(PrintInkCount<1||PrintInkCount>5)
  		PrintInkCount = InkPrtCnt;//默认打印次数

	for(uint8_t x=0;x<PrintInkCount;x++){
		DefDriverBoard_AddrReset();
		uint32_t *Add_power_data;
		uint32_t Add_power_data_1[22]={0};

		Add_power_data = &Add_power_data_1[0];
		//A1    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x4)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x1)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x40)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x10)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x4)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x1)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x40)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x10)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x4)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x1)<<12;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x40)>>6;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x10)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x4)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x1)<<6;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[1];
		//A2    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x20)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x8)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x2)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x80)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x20)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x8)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x2)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x80)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x20)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x8)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x2)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x80)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x20)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x8)<<3;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[2];
		//A3    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x1)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x40)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x10)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x4)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x1)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x40)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x10)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x4)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x1)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x40)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x10)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x4)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x1)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x40)<<0;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[3];
		//A4    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x8)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x2)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x80)>>6;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x20)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x8)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x2)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x80)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x20)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x8)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x2)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x80)>>7;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x20)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x8)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x2)<<5;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[4];
		//A5    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x40)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x10)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x4)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x1)<<13;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x40)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x10)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x4)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x1)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x40)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x10)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x4)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x1)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x40)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x10)<<2;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[5];
		//A6    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x2)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x80)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x20)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x8)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x2)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x80)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x20)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x8)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x2)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x80)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x20)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x8)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x2)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x80)>>1;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[6];
		//A7    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x10)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x4)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x1)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x40)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x10)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x4)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x1)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x40)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x10)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x4)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x1)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x40)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x10)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[38])&0x4)<<4;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[7];
		//A8    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x2)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x80)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x20)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x8)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x2)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x80)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x20)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x8)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x2)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x80)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x20)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x8)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x2)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x80)>>1;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[8];
		//A9    :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x10)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x4)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x1)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x40)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x10)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x4)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x1)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x40)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x10)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x4)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x1)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x40)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x10)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x4)<<4;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[9];
		//A10   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x80)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x20)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x8)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x2)<<12;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x80)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x20)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x8)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x2)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x80)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x20)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x8)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x2)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x80)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x20)<<1;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[10];
		//A11   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x4)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x1)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x40)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x10)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x4)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x1)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x40)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x10)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x4)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x1)<<12;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x40)>>6;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x10)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x4)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x1)<<6;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);


		Add_power_data = &Add_power_data_1[11];
		//A12   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x20)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x8)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x2)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x80)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x20)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x8)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x2)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x80)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x20)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x8)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x2)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x80)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x20)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x8)<<3;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[12];
		//A13   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x1)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x40)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x10)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x4)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x1)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x40)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x10)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x4)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x1)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x40)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x10)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x4)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x1)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x40)<<0;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[13];
		//A14   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x8)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x2)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x80)>>6;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x20)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x8)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x2)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x80)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x20)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x8)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x2)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x80)>>7;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x20)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x8)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[38])&0x2)<<5;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[14];
		//A15   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x1)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x40)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x10)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x4)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x1)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x40)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x10)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x4)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x1)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x40)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x10)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x4)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x1)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x40)<<0;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[15];
		//A16   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x8)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x2)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x80)>>6;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x20)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x8)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x2)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x80)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x20)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x8)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x2)<<11;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x80)>>7;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x20)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x8)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x2)<<5;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[16];
		//A17   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[0])&0x40)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x10)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x4)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x1)<<13;
		*Add_power_data|=((uint32_t)(left_dot_data[11])&0x40)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x10)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x4)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x1)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[22])&0x40)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x10)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x4)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x1)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[33])&0x40)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x10)<<2;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[17];
		//A18   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x2)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[3])&0x80)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[6])&0x20)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x8)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x2)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[14])&0x80)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[17])&0x20)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x8)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x2)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[25])&0x80)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[28])&0x20)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x8)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x2)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[36])&0x80)>>1;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[18];
		//A19   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x10)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x4)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x1)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[9])&0x40)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x10)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x4)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x1)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[20])&0x40)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x10)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x4)<<10;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x1)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[31])&0x40)>>4;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x10)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x4)<<4;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[19];
		//A20   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[1])&0x80)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[4])&0x20)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x8)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x2)<<12;
		*Add_power_data|=((uint32_t)(left_dot_data[12])&0x80)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[15])&0x20)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x8)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x2)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[23])&0x80)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[26])&0x20)<<7;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x8)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x2)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[34])&0x80)>>3;
		*Add_power_data|=((uint32_t)(left_dot_data[37])&0x20)<<1;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[20];
		//A21   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x4)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x1)<<3;
		*Add_power_data|=((uint32_t)(left_dot_data[7])&0x40)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x10)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x4)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x1)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[18])&0x40)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x10)<<4;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x4)<<8;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x1)<<12;
		*Add_power_data|=((uint32_t)(left_dot_data[29])&0x40)>>6;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x10)>>2;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x4)<<2;
		*Add_power_data|=((uint32_t)(left_dot_data[38])&0x1)<<6;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);

		Add_power_data = &Add_power_data_1[21];
		//A22   :
		*Add_power_data  =       0;
		*Add_power_data|=((uint32_t)(left_dot_data[2])&0x20)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[5])&0x8)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[8])&0x2)<<0;
		*Add_power_data|=((uint32_t)(left_dot_data[10])&0x80)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[13])&0x20)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[16])&0x8)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[19])&0x2)<<6;
		*Add_power_data|=((uint32_t)(left_dot_data[21])&0x80)<<1;
		*Add_power_data|=((uint32_t)(left_dot_data[24])&0x20)<<5;
		*Add_power_data|=((uint32_t)(left_dot_data[27])&0x8)<<9;
		*Add_power_data|=((uint32_t)(left_dot_data[30])&0x2)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[32])&0x80)>>5;
		*Add_power_data|=((uint32_t)(left_dot_data[35])&0x20)>>1;
		*Add_power_data|=((uint32_t)(left_dot_data[38])&0x8)<<3;
		DefDriverBoard_AddrOutput();
		DefDriverBoard_PowerOutput(*Add_power_data);
		DefDriverBoard_AddrOutput();              //输入第23个脉冲，这样第22个A的值就会正常变低，否则会一直保持高
	}
}

/************************************************
函数名称 ： Ink308_Initialize
功    能 ： 墨盒驱动引脚初始化
参    数 ： 无
返 回 值 ： 无
作    者 ： Kay
*************************************************/
void Ink308_Initialize(void)
{
  Ink308_Configuration();                                      //308墨盒引脚配置
}
